<!DOCTYPE HTML>
<html>
 <body>
 	<script>
 		if (('sessionStorage' in window) && window.sessionStorage !== null){
			try {
				sessionStorage.setItem('name', 'user1');
			} catch (e) {
				parent.fail('setItem method is failed.');
			}
		} else {
			parent.fail('sessionStorage is not supported.');
		}
 	</script>
 </body>
</html>
